<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1">
<!-- Google Chrome Frame也可以让IE用上Chrome的引擎: -->
<meta name="renderer" content="webkit">
<!--国产浏览器高速模式-->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="穷在闹市" />
<!-- 作者 -->
<meta name="revised" content="穷在闹市.v3, 2019/05/01" />
<!-- 定义页面的最新版本 -->
<meta name="description" content="网站简介" />
<!-- 网站简介 -->
<meta name="keywords" content="搜索关键字，以半角英文逗号隔开" />
<title>明联人才后台</title>

<!-- 公共样式 开始 -->
<link rel="stylesheet" type="text/css" href="back_cssAndjs/css/base.css">
<link rel="stylesheet" type="text/css" href="back_cssAndjs/css/iconfont.css">
<script type="text/javascript" src="back_cssAndjs/framework/jquery-1.11.3.min.js"></script>
<link rel="stylesheet" type="text/css" href="back_cssAndjs/layui/css/layui.css">
<script type="text/javascript" src="back_cssAndjs/layui/layui.js"></script>
<!-- 滚动条插件 -->
<link rel="stylesheet" type="text/css"
	href="back_cssAndjs/css/jquery.mCustomScrollbar.css">
<script src="back_cssAndjs/framework/jquery-ui-1.10.4.min.js"></script>
<script src="back_cssAndjs/framework/jquery.mousewheel.min.js"></script>
<script src="back_cssAndjs/framework/jquery.mCustomScrollbar.min.js"></script>
<script src="back_cssAndjs/framework/cframe.js"></script>
<!-- 仅供所有子页面使用 -->
<!-- 公共样式 结束 -->

<style>
.layui-form {
	margin-right: 30%;
}
</style>

</head>

<body>
	<div class="cBody">
		<form id="addForm" class="layui-form" action="add">
			<div class="layui-form-item">
				<label class="layui-form-label">招聘会名称</label>
				<div class="layui-input-inline shortInput">
					<input type="text" name="recName" required
						lay-verify="required|identity" autocomplete="off"
						class="layui-input">
				</div>
				<i class="iconfont icon-huaban bt"></i>
			</div>
			
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">举办时间</label>
					<div class="layui-input-inline">
						<input type="text" class="layui-input" name="startTime" id="test5" placeholder="yyyy-MM-dd HH:mm:ss">
					</div>
					<i class="iconfont icon-huaban bt"></i>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">报名日期</label>
					<div class="layui-input-inline">
						<input type="text" class="layui-input" name="applyTime" id="test7"
							placeholder=" - ">
					</div>
					<i class="iconfont icon-huaban bt"></i>
				</div>

			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">举办地点</label>
				<div class="layui-input-inline">
					<select name="provid" id="provid" lay-filter="provid">
					</select>
				</div>
				<div class="layui-input-inline">
					<select name="cityid" id="cityid" lay-filter="cityid">
						<option value="">请选择市</option>
					</select>
				</div>
				<i class="iconfont icon-huaban bt"></i>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">详细地址</label>
				<div class="layui-input-inline shortInput">
					<input type="text" name="place" required
						lay-verify="required|ZHCheck" placeholder="例:XX路001号"
						autocomplete="off" class="layui-input">
				</div>
				<i class="iconfont icon-huaban bt"></i>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">主办方</label>
				<div class="layui-input-inline shortInput">
					<input type="text" name="sponsor" required
						lay-verify="required|ZHCheck" placeholder="例:明联人才网"
						autocomplete="off" class="layui-input">
				</div>
				<i class="iconfont icon-huaban bt"></i>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">联系电话</label>
				<div class="layui-input-inline shortInput">
					<input type="text" name="recTel" required
						lay-verify="required|phone" placeholder="例：13000000000"
						autocomplete="off" class="layui-input">
				</div>
				<i class="iconfont icon-huaban bt"></i>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">举办状态</label>
				<div class="layui-input-block">
					<input type="radio" name="recState" value="0" title="未开始" checked>
					<input type="radio" name="recState" value="1" title="进行中">
					<input type="radio" name="recState" value="2" title="已结束">
				</div>
			</div>

			<div class="layui-form-item">
				<div class="layui-input-block">
					<button type="submit" class="layui-btn">立即提交</button>
					<button type="reset" class="layui-btn layui-btn-primary">重置</button>
				</div>
			</div>
		</form>

		<!-- 三级省市 插件 -->
		<script src="back_cssAndjs/framework/area.js"></script>
		<script src="back_cssAndjs/framework/province.js"></script>
		<script>
			//默认城市为：宁夏 - 银川
			var defaults = {
				s1 : 'provid',
				s2 : 'cityid',
				s3 : 'areaid',
				v1 : 510000,
				v2 : 510100,
				v3 : null
			};
		</script>
		<script>
			layui.use('laydate', function() {
				var laydate = layui.laydate;
				
				//报名时间
				laydate.render({
					elem : '#test7',
					range : true
				});
				//日期时间选择器
				  laydate.render({
				    elem: '#test5'
				    ,type: 'datetime'
				  });
			});
		</script>
	</div>
</body>
</html>